use strict;
use warnings;

package JasPerl::JSTL::Core::IfTag;
use parent qw(JasPerl::JSTL::Core::ConditionalTagSupport);

use JasPerl::Util::Boolean;

sub set_test {
    $_[0]->{test} = JasPerl::Util::Boolean->from($_[1]);
}

sub condition {
    return $_[0]->{test};
}

1;
